<template>
    <div>
        <el-dialog
                title="提示"
                center
                :append-to-body="true"
                :close-on-click-modal="false"
                :visible.sync="dialogVisible"
        >
      <span slot="footer" class="dialog-footer">
        <el-button @click="dialogVisible = false">取 消</el-button>
        <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
      </span>
        </el-dialog>
    </div>
</template>

<script>
    export default {
        data() {
            return {
                dialogVisible: false
            }
        },
        created() {
        },
        methods: {
            handleClose(done) {
                done()
            },
        },
    }
</script>

<style lang="scss" scoped>
    .dialog-footer {
        display: flex;
        justify-content: flex-end;
    }
</style>
